﻿using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Project1
{
    public partial class Form1 : Form
    {
        public object TextBoxl { get; private set; }

        public Form1()
        {
            InitializeComponent();
        }

        private void Buttonl_Click(object sender, EventArgs e)
        {

        }

        private void Button1_Click(object sender, EventArgs e)
        {
            Random rnd = new Random();
            this.TextBoxl = rnd.Next().ToString();

        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }
    }
}
